import request from '@/utils/request'

export default {

    //获取一级分类
    getCategory1(){
        return request.get(`/admin/product/getCategory1`)
    },
    //二级
    getCategory2(id){
        return request.get(`/admin/product/getCategory2/${id}`)
    },
    //三级
    getCategory3(id){
        return request.get(`/admin/product/getCategory3/${id}`)
    }
}